﻿using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;


namespace AbpBuild.LawManage
{
    [Table("LawDXtype")]
    public class LawDXtype : Entity<string>
    {
        public LawDXtype()
        {
            this.Id = Guid.NewGuid().ToString("N");
            childLawDXtype = new List<LawDXtype>();
        }
        public string name { get; set; } //
        public string pid { get; set; } //
        public int levels { get; set; } //
        public long? count { get; set; }  //"10",

        public LawDXtype parentLawDXtype { get; set; }
        public virtual ICollection<LawDXtype> childLawDXtype { get; set; }
    }
}
